package cn.uce.cc.srv.dao.impl;

import cn.uce.cc.entity.CcAgent;
import cn.uce.core.db.IBaseDao;
import org.springframework.stereotype.Repository;

/**
 * Created by zhaocan on 2018/5/23.
 */
@Repository("ccAgentDao")
public interface ICcAgentDao extends IBaseDao<CcAgent, Long> {
     CcAgent getCcAgentByUserId(String userId);

      int save(CcAgent ccAgent);

      int updateByCode(CcAgent ccAgent);

      CcAgent getCcAgentByOpenId(String openId);
}
